package com.zy.ems.common.error;

import com.zy.ems.common.exception.ErrorStatus;

/**
 * 
 * @ClassName: UserCode
 * @Description: 用户模块错误码，q000开始
 * @author zhupengren
 * @date 2014年9月29日 下午4:13:05
 *
 */
public class UserCode extends ErrorStatus {

    /**
     * 1001 用户验证失败
     */
    public static final ErrorStatus user_001 = new UserCode(1001, "用户验证失败");

    /**
     * 1002 输入积分参数无效
     */
    public static final ErrorStatus user_002 = new UserCode(1002, "输入积分参数无效");

    /**
     * 1003 用户积分不足
     */
    public static final ErrorStatus user_003 = new UserCode(1003, "用户积分不足");

    /**
     * 1004 用户积分兑换失败
     */
    public static final ErrorStatus user_004 = new UserCode(1004, "用户积分兑换失败");

    /**
     * 1005 该订单不存在
     */
    public static final ErrorStatus user_005 = new UserCode(1005, "该第三方单号不存在");

    /**
     * 1006 该第三方账号已被绑定
     */
    public static final ErrorStatus user_006 = new UserCode(1006, "该第三方账号已被绑定");

    /**
     * 1007 第三方用户 绑定失败
     */
    public static final ErrorStatus user_007 = new UserCode(1007, "绑定失败");

    /**
     * 1008 邮箱认证失败
     */
    public static final ErrorStatus user_008 = new UserCode(1008, "邮箱认证失败");

    /**
     * 1009 手机号认证失败
     */
    public static final ErrorStatus user_009 = new UserCode(1009, "手机号认证失败");

    /**
     * 1010 该第三方账号已被绑定
     */
    public static final ErrorStatus user_010 = new UserCode(1010,
            "该账号已被绑定第三方账号");

    /**
     * 1011 积分已兑换
     */
    public static final ErrorStatus user_011 = new UserCode(1011, "积分已兑换");

    /**
     * 1012 用户不存在
     */
    public static final ErrorStatus user_012 = new UserCode(1012, "用户不存在");

    /**
     * 1013 密码长度不在6-16范围内
     */
    public static final ErrorStatus user_013 = new UserCode(1013,
            "密码长度不在6-16范围内");

    /**
     * 1014 该用户已存在
     */
    public static final ErrorStatus user_014 = new UserCode(1014, "该用户已存在");

    /**
     * 1015 验证码有误
     */
    public static final ErrorStatus user_015 = new UserCode(1015, "验证码有误");

    /**
     * 1016 验证短信已经超出当天最大次数
     */
    public static final ErrorStatus user_016 = new UserCode(1015, "验证短信超过当天次数");

    /**
     * 1017 用户名不符合要求
     */
    public static final ErrorStatus user_017 = new UserCode(1017, "用户名不符合要求");

    /**
     * 1018 手机号码已存在
     */
    public static final ErrorStatus user_018 = new UserCode(1018, "手机号码已存在");

    /**
     * 1019 邮箱不存在
     */
    public static final ErrorStatus user_019 = new UserCode(1019, "邮箱不存在");

    /**
     * 1020 邮箱不存在
     */
    public static final ErrorStatus user_020 = new UserCode(1020, "邮箱已存在");

    /**
     * 1021 手机号码不存在
     */
    public static final ErrorStatus user_021 = new UserCode(1021, "手机号码不存在");

    /**
     * 1022 密码错误
     */
    public static final ErrorStatus user_022 = new UserCode(1022, "密码错误");

    /**
     * 1023 用户已在黑名单，请联系客服解除限制
     */
    public static final ErrorStatus user_023 = new UserCode(1023, "请联系客服解除限制");

    /**
     * 1024 邮政编码不符合规则
     */
    public static final ErrorStatus user_024 = new UserCode(1024, "邮政编码不符合规则");

    /**
     * 1025 身份证校验失败
     */
    public static final ErrorStatus user_025 = new UserCode(1025, "身份证校验失败");

    /**
     * 1026身份证号已经存在
     */
    public static final ErrorStatus user_026 = new UserCode(1026, "身份证号已经存在");

    /**
     * 1027 身份证信息不可以修改
     */
    public static final ErrorStatus user_027 = new UserCode(1027, "身份证信息不可以修改");

    /**
     * 1028 输入框内不能包含特殊字符
     */
    public static final ErrorStatus user_028 = new UserCode(1028,
            "输入框内不能包含特殊字符");

    /**
     * 1029 账号验证失败或密码错误
     */
    public static final ErrorStatus user_029 = new UserCode(1029,
            "账号验证失败或密码错误");

    protected UserCode(int code, String codeMsg) {
        super(code, codeMsg);
    }

    @Override
    public int getModuleCode() {
        return 1000;
    }

}
